package bean;

/**
 * Created by dell on 2017/3/30.
 */

public class UserInfo {
    /**
     * message : 注册成功
     * data : {"id":20,"username":"ADE5185929","phone":"13533656659","password":"21218cca77804d2ba1922c33e0151105","token":"c91018272661e7101a361b90c80a1a041545551f93f89e04","avatar":null,"create_date":null,"update_date":null}
     * error_code : 0
     */

    private String message;
    private DataBean data;
    private String error_code;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getError_code() {
        return error_code;
    }

    public void setError_code(String error_code) {
        this.error_code = error_code;
    }

    public static class DataBean {
        /**
         * id : 20
         * username : ADE5185929
         * phone : 13533656659
         * password : 21218cca77804d2ba1922c33e0151105
         * token : c91018272661e7101a361b90c80a1a041545551f93f89e04
         * avatar : null
         * create_date : null
         * update_date : null
         */

        private int id;
        private String username;
        private String phone;
        private String password;
        private String token;
        private Object avatar;
        private Object create_date;
        private Object update_date;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public Object getAvatar() {
            return avatar;
        }

        public void setAvatar(Object avatar) {
            this.avatar = avatar;
        }

        public Object getCreate_date() {
            return create_date;
        }

        public void setCreate_date(Object create_date) {
            this.create_date = create_date;
        }

        public Object getUpdate_date() {
            return update_date;
        }

        public void setUpdate_date(Object update_date) {
            this.update_date = update_date;
        }
    }
}
